package com.xnyzc.lhy.order.feign.heli;

import com.xnyzc.lhy.common.entity.Rv;
import com.xnyzc.lhy.order.feign.fallback.heli.UserToHeLiServiceFallback;
import com.xnyzc.lhy.resource.entity.worksheet.param.heli.LoginSynchronousParam;
import com.xnyzc.lhy.resource.entity.worksheet.param.heli.RoleSynchronousParam;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

@FeignClient(name = "${feign.applicationName.mis}", fallback = UserToHeLiServiceFallback.class)
public interface IUserToHeLiService {
    /**
     * 获取角色数据
     *
     * @return
     */
    @PostMapping("/oa/didi/workorder/getLoginSynchronous")
    Rv getLoginSynchronous(LoginSynchronousParam param);

    /**
     * 获取角色详情
     *
     * @return
     */
    @PostMapping("/oa/didi/workorder/getRoleSynchronous")
    Rv getRoleSynchronous(RoleSynchronousParam param);
}
